home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4205 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: surfnet.nl!sun4nl!xs4all!noblehouse!Ronald
  2. Newsgroups: comp.sys.amiga.programmer
  3. From: Ronald@noblehouse.xs4all.nl (Ronald van Eijck)
  4. Subject: Wanted: Color reduction algorithm.
  5. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  6. MIME-Version: 1.0
  7. Content-Type: text/plain; charset=iso-8859-1
  8. Content-Transfer-Encoding: 8bit
  9. Message-ID: <Ronald.07co@noblehouse.xs4all.nl>
  10. Date: Sun, 25 Feb 96 13:53:37 CET
  11. Organization: R&R Software
  12.  
  13. Hi,
  14.  
  15. I'm looking for some source code that can reduce a colormap
  16. from x entries to y entries eliminating colors that are
  17. closest together. I'll probably need to be able to lock a
  18. number of colours that are used in cycles etc. but If I got
  19. the basic algorithm I can add that myself. I do not want
  20. to use the 3.0 obtainbestpen etc functions because these do
  21. not deal with whole colormaps at a time and I doubt that if
  22. I do an obtainbestpen for every colour that I'll get very
  23. good results.
  24.  
  25. C'ya,
  26.  
  27. --
  28. * Ronald van Eijck
  29. *
  30. * If you know the enemy and know yourself, you need not fear
  31. * the result of a hundred battles. (Sun Tzu)
  32.